function pageer(totalpage,curr,cont,url){
    layui.use(['laypage','layer'],function () {
        var laypage = layui.laypage;
        var layer = layui.layer;
        laypage({
            cont: cont
            ,pages: totalpage
            ,curr:curr+1
            ,skip:true
            ,jump: function(obj, first){
                if(!first){
                    window.location.href=url+'?page='+obj.curr;
                }
            }
        });
    })
}